var posterActivityConfig = {
  jdConfig: {
    width: 850,
    height: 1470,
    backgroundColor: '#F0C826',
    borderWidth: 20,
    borderRadius: 40,
    debug: false,
    blocks: [{
      width: 700,
      height: 1100,
      x: 80,
      y: 183,
      backgroundColor: '#fff',
      borderRadius: 20,
    }, ],
    texts: [{
        x: 422,
        y: 90,
        width:200,
        baseLine: 'middle',
        text: '伟仔',
        fontSize: 32,
        color: '#FFFFFF',
        yihang:true
      },
      {
        x: 99,
        y: 1225,
        baseLine: 'left',
        text: 'The Royal Concept 全新专',
        width: 400,
        yihang:true,
        fontSize: 32,
        bold:true,
        color: '#000000',
        zIndex: 100,
      },
      {
        x: 672,
        y: 1225,
        baseLine: 'right',
        bold:true,
        text: '18天',
        fontSize: 32,
        width: 74,
        color: '#000000',
        zIndex: 100,

      },
      {
        x: 99,
        y: 1265,
        baseLine: 'left',
        text: '糖果LIVE',
        fontSize: 22,
        color: '#4A4A4A',
        zIndex: 100,
      },
      {
        x: 662,
        y: 1265,
        baseLine: 'right',
        width: 74,
        text: '倒计时',
        fontSize: 22,
        color: '#4A4A4A',
        zIndex: 100,
      },
    ],
    images: [{
        width: 80,
        height: 80,
        x: 322,
        y: 50,
        borderRadius: 80,
        url: '',
      },
      {
        width: 700,
        //740
        height: 1020,
        x: 80,
        //163
        y: 163,
        borderRadius: 20,
        //活动图片
        url: 'http://simul.dpaper.cn/miniprogram/show_images/share_logo.jpeg',
      },
      {
        width: 100,
        height: 100,
        x: 382,
        y: 1320,
        borderRadius: 100,
        url: '',
      }
    ]
  }
};

var posterFeelingConfig = {
  IMAGEConfig: {
    width: 670,
    height: 1064,
    borderWidth: 2,
    borderRadius: 20,
    borderColor: '#000000',
    backgroundColor:'#FFFFFF',
    debug: false,
    blocks: [],
    texts: [],
    images: []
  },
  VIDEOConfig: {
    width: 670,
    height: 1064,
    borderWidth: 2,
    borderRadius: 20,
    borderColor: '#000000',
    backgroundColor:'#FFFFFF',
    debug: false,
    blocks: [],
    texts: [],
    images: []
  },
  TEXTConfig: {
    width: 670,
    height: 1024,
    borderWidth: 2,
    borderRadius: 20,
    borderColor: '#fff',
    backgroundColor:'#FFFFFF',
    debug: false,
    blocks: [{
      width: 630,
      height: 700,
      x: 20,
      y: 133,
      backgroundColor: '#000000',
      borderRadius: 20,
    }, ],
    texts: [],
    images: []
  },
  AUDIOConfig: {
    width: 670,
    height: 984,
    borderWidth: 2,
    borderRadius: 20,
    borderColor: '#fff',
    backgroundColor:'#FFFFFF',
    debug: false,
    blocks: [{
      width: 630,
      height: 700,
      x: 20,
      y: 133,
      backgroundColor: '#000000',
      borderRadius: 20,
    },],
    texts: [],
    images: []
  }
};


var posterFeelingConfig_copy = {
  IMAGEConfig: {
    width: 670,
    height: 934,
    borderWidth: 2,
    borderRadius: 20,
    borderColor: '#000000',
    debug: false,
    blocks: [],
    texts: [{//昵称
      x: 120,
      y: 40,
      baseLine: 'middle',
      text: '伟仔',
      // width: 180,
      width: 120,
      fontSize: 32,
      color: '#000000',
    },
    {//感到
      x: 310,
      y: 40,
      baseLine: 'middle',
      text: '',
      width: 40,
      fontSize: 32,
      color: '#FF0000',
    },
    {//表情
      x: 380,
      y: 40,
      baseLine: 'middle',
      text: '',
      fontSize: 32,
      color: '#000000',
    },
    {//感受内容
      x: 20,
      y: 855,
      baseLine: 'left',
      text: 'The Royal Concept 全新专',
      width: 600,
      fontSize: 32,
      color: '#000000',
      zIndex: 100,
    },
    ],
    images: [{//用户头像
      width: 80,
      height: 80,
      x: 20,
      y: 0,
      borderRadius: 80,
      url: '',
    },
    {//vipLevel 
      width: 24,
      height: 24,
      x: 280,
      y: 28,
      borderRadius: 24,
      url: '',
    },
    {// 感受图
      width: 630,
      height: 700,
      x: 20,
      y: 113,
      borderRadius: 40,
      url: 'http://simul.dpaper.cn/miniprogram/show_images/share_logo.jpeg',
    },
    {//二维码
      width: 100,
      height: 100,
      x: 292,
      y: 930,
      borderRadius: 100,
      url: '',
    }
    ]
  },
  VIDEOConfig: {
    width: 670,
    height: 934,
    // backgroundColor: '#fff',
    borderWidth: 2,
    borderRadius: 20,
    borderColor: '#000000',
    debug: false,
    blocks: [],
    texts: [{//昵称
      x: 120,
      y: 40,
      baseLine: 'middle',
      text: '伟仔',
      width: 70,
      fontSize: 32,
      color: '#000000',
    },
    {//感到
      x: 310,
      y: 40,
      baseLine: 'middle',
      text: '',
      width: 40,
      fontSize: 32,
      color: '#FF0000',
    },
    {//表情
      x: 380,
      y: 40,
      baseLine: 'middle',
      text: '',
      fontSize: 32,
      color: '#000000',
    },
    {//感受内容
      x: 20,
      y: 855,
      baseLine: 'left',
      text: 'The Royal Concept 全新专',
      width: 600,
      fontSize: 32,
      color: '#000000',
      zIndex: 100,
    },
    ],
    images: [{//用户头像
      width: 80,
      height: 80,
      x: 20,
      y: 0,
      borderRadius: 80,
      url: '',
    },
    {//vipLevel 
      width: 24,
      height: 24,
      x: 280,
      y: 28,
      borderRadius: 24,
      url: '',
    },
    {// 视频缩略图
      width: 630,
      height: 700,
      x: 20,
      y: 113,
      borderRadius: 40,
      url: 'http://simul.dpaper.cn/miniprogram/show_images/share_logo.jpeg',
    },
    {//play标记
      width: 50,
      height: 50,
      x: 330,
      y: 460,
      borderRadius: 50,

      url: 'http://simul.dpaper.cn/miniprogram/show_images/share_logo.jpeg',
    },
    {//二维码
      width: 100,
      height: 100,
      x: 292,
      y: 930,
      borderRadius: 100,
      url: '',
    }
    ]
  },
  TEXTConfig: {
    width: 670,
    height: 934,
    borderWidth: 2,
    borderRadius: 20,
    borderColor: '#fff',
    debug: false,
    blocks: [{
      width: 630,
      height: 700,
      x: 20,
      y: 103,
      backgroundColor: '#000000',
      borderRadius: 20,
    },],
    texts: [{//昵称
      x: 120,
      y: 40,
      baseLine: 'middle',
      text: '伟仔',
      width: 180,
      fontSize: 32,
      color: '#000000',
    },
    {//感到
      x: 310,
      y: 40,
      baseLine: 'middle',
      text: '',
      width: 40,
      fontSize: 32,
      color: '#FF0000',
    },
    {//表情
      x: 380,
      y: 40,
      baseLine: 'middle',
      text: '',
      fontSize: 32,
      color: '#000000',
    },
    {//感受内容
      x: 120,
      y: 455,
      baseLine: 'left',
      text: 'The Royal Concept 全新专',
      width: 400,
      fontSize: 32,
      color: '#fff',
      zIndex: 100,
    },
    ],
    images: [{//用户头像
      width: 80,
      height: 80,
      x: 20,
      y: 0,
      borderRadius: 80,
      url: '',
    },
    {//vipLevel 
      width: 24,
      height: 24,
      x: 280,
      y: 28,
      borderRadius: 24,
      url: '',
    },
    {//双引号
      width: 50,
      height: 50,
      x: 110,
      y: 360,
      borderRadius: 50,
      url: 'http://simul.dpaper.cn/miniprogram/show_images/share_logo.jpeg',
    },
    {//二维码
      width: 100,
      height: 100,
      x: 292,
      y: 850,
      borderRadius: 100,
      url: '',
    }
    ]
  },
  AUDIOConfig: {
    width: 670,
    height: 934,
    borderWidth: 2,
    borderRadius: 20,
    borderColor: '#fff',
    debug: false,
    blocks: [{
      width: 630,
      height: 700,
      x: 20,
      y: 103,
      backgroundColor: '#000000',
      borderRadius: 20,
    },],
    texts: [{//昵称
      x: 120,
      y: 40,
      baseLine: 'middle',
      text: '伟仔',
      width: 180,
      fontSize: 32,
      color: '#000000',
    },
    {//感到
      x: 310,
      y: 40,
      baseLine: 'middle',
      text: '',
      width: 40,
      fontSize: 32,
      color: '#FF0000',
    },
    {//表情
      x: 380,
      y: 40,
      baseLine: 'middle',
      text: '',
      fontSize: 32,
      color: '#000000',
    },
    {//感受内容
      x: 120,
      y: 480,
      baseLine: 'left',
      text: 'The Royal Concept 全新专',
      width: 400,
      fontSize: 32,
      color: '#fff',
      zIndex: 100,
    },
    ],
    images: [{//用户头像
      width: 80,
      height: 80,
      x: 20,
      y: 0,
      borderRadius: 80,
      url: '',
    },
    {//vipLevel 
      width: 24,
      height: 24,
      x: 280,
      y: 28,
      borderRadius: 24,
      url: '',
    },
    {//语音logo
      width: 450,
      height: 60,
      x: 110,
      y: 360,
      // borderRadius: 10,
      url: 'http://simul.dpaper.cn/miniprogram/show_images/share_logo.jpeg',
    },
    {//二维码
      width: 100,
      height: 100,
      x: 292,
      y: 850,
      borderRadius: 100,
      url: '',
    }
    ]
  }
};

function getPosterActivityCinfig() {
  return posterActivityConfig;
}

function getPosterFeelingCinfig() {
  return posterFeelingConfig;
}

module.exports = {
  getPosterActivityCinfig,
  getPosterFeelingCinfig,
  posterFeelingConfig
}